<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sj" uri="/struts-jquery-tags"%>
<html>
<head>
<sj:head locale="de" jqueryui="true" jquerytheme="mytheme"
	customBasepath="/SpringSecurity/template/themes/" />

<link type="text/css"
	href="/SpringSecurity/template/themes/mytheme/jquery-ui.css"
	rel="stylesheet" />
<link type="text/css"
	href="/SpringSecurity/template/themes/mytheme/style.css"
	rel="stylesheet" />
<script type="text/javascript"
	src="/SpringSecurity/template/themes/mytheme/css/js/jquery-1.6.2.min.js"></script>
<script type="text/javascript"
	src="/SpringSecurity/template/themes/mytheme/css/js/jquery-ui-1.8.16.custom.min.js"></script>
<script type="text/javascript">
	$(function() {

		//Button
		$("button").button();

		// Accordion
		$("#accordion").accordion({
			header : "h3"
		});

		// Tabs
		$('#tabs').tabs();

		// Dialog			
		$('#dialog').dialog({
			autoOpen : false,
			width : 600,
			buttons : {
				"Ok" : function() {
					$(this).dialog("close");
				},
				"Cancel" : function() {
					$(this).dialog("close");
				}
			}
		});

		// Dialog Link
		$('#dialog_link').click(function() {
			$('#dialog').dialog('open');
			return false;
		});

		// Datepicker
		$('#datepicker').datepicker({
			inline : true
		});

		// Slider
		$('#slider').slider({
			range : true,
			values : [ 17, 67 ]
		});

		// Progressbar
		$("#progressbar").progressbar({
			value : 20
		});

		//hover states on the static widgets
		$('#dialog_link, ul#icons li').hover(function() {
			$(this).addClass('ui-state-hover');
		}, function() {
			$(this).removeClass('ui-state-hover');
		});

	});
</script>


<title>Login Page</title>

</head>
<body>
	<div id="header">
	</div>
	<center>
		<div id="dupa">
			<h1>Login with Username and Password</h1>

			<form action="j_spring_security_check" method="POST">
				<label for="j_username">Username</label> <input type="text"
					name="j_username" id="j_username" /><br /> <label for="j_password">Password</label>
				<input type="password" name="j_password" id="j_password" /><br /> <input
					type='checkbox' name='_spring_security_remember_me' /> Remember me<br />
				<input type="submit" value="Login" /> <input type="reset"
					value="Reset" />
			</form>

		</div>
	</center>
</body>
</html>